package edu.object_oriented.modify.demo2;

import edu.object_oriented.modify.demo1.Modify1;

public class ModifyTest2 extends Modify1{

    public static void main(String[] args) {
        Modify1 modify1 = new Modify1();
        modify1.msg = "信息";
//        modify1.s = "不同包";
//        modify1.age = 20;
//        modify1.sex = "男";
    }

    void tell(){
        System.out.println(s);
//        System.out.println(age);
    }



}
